package com.hunter.jerrymouse.request;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;

/**
 * Created by hunter
 * <p>
 * 文件上传接口类
 */
public interface MultiPartFileRequest {

    byte[] getBytes() throws IOException;

    InputStream getInputStream() throws IOException;

    void transferTo(File outFile) throws IOException;

    String getFileName();

    /*
     * ···
     * other
     */
}
